package com.simp.app.model.impl;

import com.simp.app.model.OnLoginFinishedListener;
import com.simp.app.model.RegisterInteractor;

/**
 * 
 * Created by hanWG on 2015-10-21 下午5:55:22 $
 * 
 * @Description 访问网络 或者 sqLite使用
 *              <p/>
 */
public class RegisterInteractorImpl implements RegisterInteractor {
	@Override
	public void reg(final String username, final String password,
			final OnLoginFinishedListener listener) {
		if (("").equals(username)) {
			listener.onUsernameError();
		}else if (("").equals(password)) {
			listener.onPasswordError();
		}
		
	}

}
